#include "ffrt.h"
#include "ffrt_inner.h"

#include <iostream>

using namespace std;

void test(int i) {

	cout << "i = " << i << endl;
}

int main() {
	int i = 0;
        std::function<void()> TestFunction = [=] () {
	  test(i);
	}
	ffrt::submit(std::move(TestFunction), {}, {}, ffrt::task_attr().name("DnsPxyPacket"));
	cout << "1" << endl;

}
